// 封装全局图片
export const imgerror = {
  inserted (el, bindings) {
    el.onerror = function () {
      el.src = bindings.value
    }
  }
}
// 封装全局颜色
export const myColor = {
  inserted (el, bindings) {
    el.style.color = bindings.value
  }
}
export const myBcolor = {
  inserted (el, bindings) {
    el.style.backgroundColor = bindings.value
  }
}
